﻿using System;
using Autodesk.Revit.Attributes;
using Autodesk.Revit.DB;
using Autodesk.Revit.UI;
using ModelValidation.Utils;

namespace ModelValidation.Commands
{
	[Transaction(TransactionMode.Manual)]
	[Regeneration(RegenerationOption.Manual)]
	internal class CmdGetDistanceHAVC : IExternalCommand
	{
		public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements)
		{
			return new GetDistanceTempleCmd().Execute(this.m_nUseIndex, commandData, ref message, elements);
		}

		private int m_nUseIndex = 2;
	}
}
